{"ast":null,"code":"var __rest = this && this.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) {\n    if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  }\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n/* eslint-disable react/no-array-index-key */\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport FloatButton, { floatButtonPrefixCls } from './FloatButton';\nimport FloatButtonGroup from './FloatButtonGroup';\nimport BackTop from './BackTop';\nimport { ConfigContext } from '../config-provider';\nvar PureFloatButton = function PureFloatButton(_a) {\n  var backTop = _a.backTop,\n    props = __rest(_a, [\"backTop\"]);\n  return backTop ? /*#__PURE__*/React.createElement(BackTop, Object.assign({}, props, {\n    visibilityHeight: 0\n  })) : /*#__PURE__*/React.createElement(FloatButton, Object.assign({}, props));\n};\nfunction PurePanel(_a) {\n  var className = _a.className,\n    items = _a.items,\n    props = __rest(_a, [\"className\", \"items\"]);\n  var customizePrefixCls = props.prefixCls;\n  var _React$useContext = React.useContext(ConfigContext),\n    getPrefixCls = _React$useContext.getPrefixCls;\n  var prefixCls = getPrefixCls(floatButtonPrefixCls, customizePrefixCls);\n  var pureCls = \"\".concat(prefixCls, \"-pure\");\n  if (items) {\n    return /*#__PURE__*/React.createElement(FloatButtonGroup, Object.assign({\n      className: classNames(className, pureCls)\n    }, props), items.map(function (item, index) {\n      return /*#__PURE__*/React.createElement(PureFloatButton, Object.assign({\n        key: index\n      }, item));\n    }));\n  }\n  return /*#__PURE__*/React.createElement(PureFloatButton, Object.assign({\n    className: classNames(className, pureCls)\n  }, props));\n}\nexport default /*#__PURE__*/React.memo(PurePanel);","map":{"version":3,"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","React","classNames","FloatButton","floatButtonPrefixCls","FloatButtonGroup","BackTop","ConfigContext","PureFloatButton","_a","backTop","props","createElement","assign","visibilityHeight","PurePanel","className","items","customizePrefixCls","prefixCls","useContext","getPrefixCls","pureCls","map","item","index","key","memo"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/float-button/PurePanel.js"],"sourcesContent":["var __rest = this && this.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n/* eslint-disable react/no-array-index-key */\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport FloatButton, { floatButtonPrefixCls } from './FloatButton';\nimport FloatButtonGroup from './FloatButtonGroup';\nimport BackTop from './BackTop';\nimport { ConfigContext } from '../config-provider';\nconst PureFloatButton = _a => {\n  var {\n      backTop\n    } = _a,\n    props = __rest(_a, [\"backTop\"]);\n  return backTop ? /*#__PURE__*/React.createElement(BackTop, Object.assign({}, props, {\n    visibilityHeight: 0\n  })) : /*#__PURE__*/React.createElement(FloatButton, Object.assign({}, props));\n};\nfunction PurePanel(_a) {\n  var {\n      className,\n      items\n    } = _a,\n    props = __rest(_a, [\"className\", \"items\"]);\n  const {\n    prefixCls: customizePrefixCls\n  } = props;\n  const {\n    getPrefixCls\n  } = React.useContext(ConfigContext);\n  const prefixCls = getPrefixCls(floatButtonPrefixCls, customizePrefixCls);\n  const pureCls = `${prefixCls}-pure`;\n  if (items) {\n    return /*#__PURE__*/React.createElement(FloatButtonGroup, Object.assign({\n      className: classNames(className, pureCls)\n    }, props), items.map((item, index) => /*#__PURE__*/React.createElement(PureFloatButton, Object.assign({\n      key: index\n    }, item))));\n  }\n  return /*#__PURE__*/React.createElement(PureFloatButton, Object.assign({\n    className: classNames(className, pureCls)\n  }, props));\n}\nexport default /*#__PURE__*/React.memo(PurePanel);"],"mappings":"AAAA,IAAIA,MAAM,GAAG,IAAI,IAAI,IAAI,CAACA,MAAM,IAAI,UAAUC,CAAC,EAAEC,CAAC,EAAE;EAClD,IAAIC,CAAC,GAAG,CAAC,CAAC;EACV,KAAK,IAAIC,CAAC,IAAIH,CAAC;IAAE,IAAII,MAAM,CAACC,SAAS,CAACC,cAAc,CAACC,IAAI,CAACP,CAAC,EAAEG,CAAC,CAAC,IAAIF,CAAC,CAACO,OAAO,CAACL,CAAC,CAAC,GAAG,CAAC,EAAED,CAAC,CAACC,CAAC,CAAC,GAAGH,CAAC,CAACG,CAAC,CAAC;EAAC;EACjG,IAAIH,CAAC,IAAI,IAAI,IAAI,OAAOI,MAAM,CAACK,qBAAqB,KAAK,UAAU,EAAE,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEP,CAAC,GAAGC,MAAM,CAACK,qBAAqB,CAACT,CAAC,CAAC,EAAEU,CAAC,GAAGP,CAAC,CAACQ,MAAM,EAAED,CAAC,EAAE,EAAE;IAC3I,IAAIT,CAAC,CAACO,OAAO,CAACL,CAAC,CAACO,CAAC,CAAC,CAAC,GAAG,CAAC,IAAIN,MAAM,CAACC,SAAS,CAACO,oBAAoB,CAACL,IAAI,CAACP,CAAC,EAAEG,CAAC,CAACO,CAAC,CAAC,CAAC,EAAER,CAAC,CAACC,CAAC,CAACO,CAAC,CAAC,CAAC,GAAGV,CAAC,CAACG,CAAC,CAACO,CAAC,CAAC,CAAC;EACnG;EACA,OAAOR,CAAC;AACV,CAAC;AACD;AACA,OAAO,KAAKW,KAAK,MAAM,OAAO;AAC9B,OAAOC,UAAU,MAAM,YAAY;AACnC,OAAOC,WAAW,IAAIC,oBAAoB,QAAQ,eAAe;AACjE,OAAOC,gBAAgB,MAAM,oBAAoB;AACjD,OAAOC,OAA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